package com.my.study.designPatterns.commandPattern;

public class StereoOffWithCDCommand implements Command {

    Setero setero;

    public StereoOffWithCDCommand(Setero setero) {
        this.setero = setero;
    }

    @Override
    public void execute() {
        setero.seteroOff();
    }

    @Override
    public void undo() {
        setero.seteroOnWithCD();
    }
}
